package com.jiangxjsy.crm.mapper;

import com.jiangxjsy.model.crm.entity.CrmFieldExtend;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * wukong-crm-master
 * 蒋胜宇
 * 2025/6/19 15:55
 */

public interface CrmFieldExtendMapper {
    /**
     * 根据父字段id查询扩展字段
     *
     * @param parentFieldId 父字段id
     * @return 扩展字段列表
     */
    @Select("select * from wk_crm_field_extend where parent_field_id = #{parentFieldId}")
    List<CrmFieldExtend> selectListByParentFieldId(@Param("parentFieldId") Integer parentFieldId);
}
